package cn.com.dhcc.app.pub.core.service;

import org.apache.ftpserver.listener.Listener;
import org.apache.ftpserver.listener.ListenerFactory;

public class TurboFtpListenerFactory extends ListenerFactory{

	 /**
     * Create a listener based on the settings of this factory. The listener is immutable.
     * @return The created listener
     */
    public Listener createListener() {
	        return new TurboFtpNioListener(super.getServerAddress(), super.getPort(), super.isImplicitSsl(), super.getSslConfiguration(),
	        	super.getDataConnectionConfiguration(), super.getIdleTimeout(), super.getIpFilter());
    	
    }
}
